import { createApp } from 'vue'
import App from './App.vue'
import antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import routes from './router'
import { createWebHistory, createRouter } from 'vue-router'

const history = createWebHistory()
const router = createRouter({
    history, // 路由模式
    routes
    })

const app = createApp(App)
app.use(antd)
app.use(router)
app.mount('#app')
